/**
 * FileName: CheckInServiceImpl
 * Author:   mjh
 * Date:     2019/8/1 12:07
 * Description:
 * History:
 * <author>          <time>          <version>          <desc>
 * mjh         修改时间           版本号              描述
 */
package com.woniuxy.main.service.impl;

import com.woniuxy.main.mapper.CheckInMapper;
import com.woniuxy.main.pojo.CheckIn;
import com.woniuxy.main.service.CheckInService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * 〈一句话功能简述〉<br> 
 * 〈〉
 *
 * @author mjh
 * @create 2019/8/1
 * @since 1.0.0
 */
@Service
public class CheckInServiceImpl implements CheckInService {

    @Resource
    private CheckInMapper checkInMapper;

    @Override
    public List<CheckIn> findAll() {
        return checkInMapper.findAll();
    }

    @Override
    public List<CheckIn> findByOther(CheckIn checkIn) {
        return checkInMapper.findByOther(checkIn);
    }

    @Override
    public List<CheckIn> findByLike(CheckIn checkIn) {
        return checkInMapper.findByLike(checkIn);
    }

    @Override
    public boolean addCheckIn(CheckIn checkIn) throws Exception {
        return checkInMapper.addCheckIn(checkIn);
    }


}